package com.ljx.demo6.domain;

import java.util.Date;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-05-22  14:27
 */
public class NewsInfo {

    private Long id;

    private String title;

    private String content;

    private String type;

    private Date createTime;

    private Date updateTime;

    public NewsInfo(Long id, String title, String content, String type, Date createTime, Date updateTime) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.type = type;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public NewsInfo(Long id, String title, String content, String type) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.type = type;
    }

    public NewsInfo(String title, String content, String type) {
        this.title = title;
        this.content = content;
        this.type = type;
    }

    public Long getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public String getContent() {
        return content;
    }

    public String getType() {
        return type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }
}
